<!DOCTYPE html>
<script src="../resources/text-based-repaint.js"></script>
<script src="../../../resources/run-after-layout-and-paint.js"></script>
<script>
window.testIsAsync = true;
window.onload = runRepaintAndPixelTest;

function repaintTest() {
  runAfterLayoutAndPaint(function() {
    document.getElementsByTagName('rect')[0].style.height = "100px";
    if (window.testRunner)
      finishRepaintTest();
  });
};
</script>
<svg width="200" height="200">
  <rect width="100" height="200" fill="blue" rx="3"/>
</svg>